package com.nchu.service.impl;

import com.nchu.mappers.EvaluationMapper;
import com.nchu.mappers.OrderMapper;
import com.nchu.pojo.OrderEvaluation;
import com.nchu.service.EvaluationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import java.util.List;

@Service
public class EvaluationServiceimpl implements EvaluationService {
    @Autowired
    private EvaluationMapper mapper;
    public List<OrderEvaluation> orderformme(int userid){
        return mapper.orderformme(userid);
    };
    public List<OrderEvaluation> ordertome(int userid){
        return mapper.ordertome(userid);
    };
    public int inserteva(OrderEvaluation eva){
        return mapper.inserteva(eva);
    };

}
